home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
Grafik & Text
/
OzTeX3.0
/
Configs
/
Default.ori
< prev
next >
Wrap
Text File
|
1997-02-26
|
19KB
|
378 lines
% OzTeX reads this configuration file when it starts up.
% Before making any changes, read the section on configuration files
% in the OzTeX User Guide and the notes at the end of this file.
% Files and folders:
config_files = -- StyleWriter ImageWriter Linotronic |
"600 dpi printer" -- "A5 Portrait" "A4 Landscape" "US Letter" -- |
"View at 144 dpi" "View CM using PS" -- "Add BaKoMa Fonts" |
"Add CM/PS Fonts" "Add Lucida Fonts" "Add MathTime Fonts"
format_files = LaTeX AMSTeX Plain
help_files = "Questions and Answers" "Handy Hints" Problems |
"TeX Users Group" "Related Software" "Shareware Fee" Thanks -- |
DVIPS DVIDVI DVIcopy PSbook PSnup PSselect PStoPS -- |
"Changes to OzTeX 1.7" "Changes to OzTeX 1.8" "Changes to OzTeX 1.9" |
"Changes to OzTeX 2.0" "Changes to OzTeX 2.1"
help_folder = :Help-files:
format_folder = :TeX-formats:
input_folders = :TeX-inputs:* :AMS:AMS-TeX: :AMS:AMS-LaTeX:
tfm_folders = :TeX-fonts:* :AMS:TFM:
vf_folders = :VF-files:
pk_files = %f.%dpk :PK-files:%f.%dpk :PK-files:%d:%f.%dpk
ps_folders = :DVIPS:Inputs: :PS-files: :PS-files:Encodings: $f
text_to_ps_prolog = :PS-files:TEXTtoPS.pro
missing_fonts_file = :PK-files:missfont.make (for use by MakeTeXPK in OzMF)
pool_file = :TeX-formats:TeX.pool (only used by INITEX)
dummy_tfm_file = :TeX-fonts:CM:cmr10.tfm
dummy_screen_font = Geneva
save_output = Oz.text (for Save All Text)
dvidvi_output = out.dvi (for DVIDVI)
pstool_output = out.ps (for PSbook, PSnup, etc)
input_file_suffixes = .tex .ltx .dtx .ins
mf_application = OzMF
% Printing and previewing:
printing_resolution = 300 (in dots per inch)
printing_mode = laserwriter (used by MakeTeXPK in OzMF)
printing_config = "" (don't load anything before printing)
viewing_resolution = 300
viewing_mode = laserwriter
viewing_config = "" (don't load anything before viewing)
units = in (in/cm/mm/pc/pt/bp/px)
paper_width = 210mm (A4 width; use 8.5in for US Letter)
paper_height = 297mm (A4 height; use 11in for US Letter)
horizontal_offset = 0mm (shift pages right if +ve, left if -ve)
vertical_offset = 0mm (shift pages down if +ve, up if -ve)
show_statistics = false
reverse_page_order = false (use true if pages are stacked face up)
manual_feed = false (only for PostScript printing)
dvips_options = "" (ditto)
paper_edges = blue (use white to make them invisible)
\special_markers = green (ditto)
missing_fonts = red (ditto)
missing_picts = red (for EPSF files with no PICT)
hypertex_links = green
% TeX parameters (the values in brackets show the possible ranges):
mem_max = 70000 (mem_top..100000000)
font_max = 120 (1..256)
font_mem_size = 38000 (8..100000000)
max_strings = 6000 (1300..16382)
string_vacancies = 30000 (0..pool_size-23500)
pool_size = 70000 (string_vacancies+23500..100000000)
buf_size = 1000 (120..32760)
stack_size = 200 (1..1600)
max_in_open = 6 (1..20)
param_size = 60 (1..8190)
nest_size = 40 (1..1000)
save_size = 600 (1..4094)
trie_size = 8000 (1..65000)
trie_op_size = 500 (1..16382)
%
% If you change any of the next four parameters then you'll need
% to run INITEX and rebuild all your format files (see the User Guide).
% Some people will probably want to increase the hash_size value,
% so here are some suitable hash_prime values:
% hash_size = 3000 4000 5000 6000 10000 20000 31000
% hash_prime = 2551 3407 4253 5101 8501 16993 26347
%
mem_top = 70000 (mem_min+1100..mem_max)
hash_size = 5000 (325..31000)
hash_prime = 4253 (prime about 85% of hash_size)
hyph_size = 307 (prime from 1..16382)
%
% Only change the next few parameters when carrying out TeX's TRIP test:
%
error_line = 72 (45..32760)
half_error_line = 42 (30..error_line-15)
max_print_line = 79 (60..32760)
mem_min = 0 (0..mem_top-1100)
% PostScript fonts (or more accurately, non-PK fonts):
begin_fonts
% TFM Printer font Screen font Encoding Style
pagd8r AvantGarde-Demi "Avant Garde" Mac8r.enc b
pagdo8r AvantGarde-DemiOblique "Avant Garde" Mac8r.enc bi
pagk8r AvantGarde-Book "Avant Garde" Mac8r.enc
pagko8r AvantGarde-BookOblique "Avant Garde" Mac8r.enc i
pbkd8r Bookman-Demi Bookman Mac8r.enc b
pbkdi8r Bookman-DemiItalic Bookman Mac8r.enc bi
pbkdo8r Bookman-Demi Bookman Mac8r.enc bi
pbkl8r Bookman-Light Bookman Mac8r.enc
pbkli8r Bookman-LightItalic Bookman Mac8r.enc i
pbklo8r Bookman-Light Bookman Mac8r.enc i
pcrb8r Courier-Bold Courier Mac8r.enc b
pcrbo8r Courier-BoldOblique Courier Mac8r.enc bi
pcrr8r Courier Courier Mac8r.enc
pcrro8r Courier-Oblique Courier Mac8r.enc i
phvb8r Helvetica-Bold Helvetica Mac8r.enc b
phvbo8r Helvetica-BoldOblique Helvetica Mac8r.enc bi
phvbon8r Helvetica-BoldOblique Helvetica Mac8r.enc cbi
phvbrn8r Helvetica-Bold Helvetica Mac8r.enc cb
phvr8r Helvetica Helvetica Mac8r.enc
phvro8r Helvetica-Oblique Helvetica Mac8r.enc i
phvron8r Helvetica-Oblique Helvetica Mac8r.enc ci
phvrrn8r Helvetica Helvetica Mac8r.enc c
pncb8r NewCenturySchlbk-Bold "New Century Schlbk" Mac8r.enc b
pncbi8r NewCenturySchlbk-BoldItalic "New Century Schlbk" Mac8r.enc bi
pncbo8r NewCenturySchlbk-Bold "New Century Schlbk" Mac8r.enc bi
pncr8r NewCenturySchlbk-Roman "New Century Schlbk" Mac8r.enc
pncri8r NewCenturySchlbk-Italic "New Century Schlbk" Mac8r.enc i
pncro8r NewCenturySchlbk-Roman "New Century Schlbk" Mac8r.enc i
pplb8r Palatino-Bold Palatino Mac8r.enc b
pplbi8r Palatino-BoldItalic Palatino Mac8r.enc bi
pplbo8r Palatino-Bold Palatino Mac8r.enc bi
pplbu8r Palatino-BoldItalic Palatino Mac8r.enc
pplr8r Palatino-Roman Palatino Mac8r.enc
pplri8r Palatino-Italic Palatino Mac8r.enc i
pplro8r Palatino-Roman Palatino Mac8r.enc i
pplrre8r Palatino-Roman Palatino Mac8r.enc e
pplrrn8r Palatino-Roman Palatino Mac8r.enc c
pplru8r Palatino-Italic Palatino Mac8r.enc
psyr Symbol Symbol nil
psyro Symbol Symbol nil i
ptmb8r Times-Bold Times Mac8r.enc b
ptmbi8r Times-BoldItalic Times Mac8r.enc bi
ptmbo8r Times-Bold Times Mac8r.enc bi
ptmr8r Times-Roman Times Mac8r.enc
ptmri8r Times-Italic Times Mac8r.enc i
ptmro8r Times-Roman Times Mac8r.enc i
ptmrre8r Times-Roman Times Mac8r.enc e
ptmrrn8r Times-Roman Times Mac8r.enc c
putb8r Utopia-Bold Utopia Mac8r.enc b
putbi8r Utopia-BoldItalic Utopia Mac8r.enc bi
putbo8r Utopia-Bold Utopia Mac8r.enc bi
putr8r Utopia-Regular Utopia Mac8r.enc
putri8r Utopia-Italic Utopia Mac8r.enc i
putro8r Utopia-Regular Utopia Mac8r.enc i
pzcmi8r ZapfChancery-MediumItalic "Zapf Chancery" Mac8r.enc
pzdr ZapfDingbats "Zapf Dingbats" nil
% This line is needed to view the MetaPost manual (:MetaPost:Docs:mpman.dvi)
% because it uses an old-style TFM name.
rpsyr Symbol Symbol nil
end_fonts
% Later parameters override earlier ones, so include any changes here
% if you want to keep a record of the above settings.
% Note that you can APPEND fonts to the above list by using
% add_fonts
% ...
% end_fonts
!
The above exclamation mark tells OzTeX to stop reading the config file.
Now we can add some notes without having to start each line with "%".
Files and folders
-----------------
Path names beginning with ":" are relative to the location of OzTeX.
See the OzTeX User Guide for more details about the syntax of path names.
Names in the config_files list appear as items at the end of the Config menu
and should correspond to text files stored in the Configs folder.
Note that config_files is ignored in non-default configuration files.
Names in the format_files list appear as items at the end of the TeX menu
and should correspond to .fmt files inside the given format_folder.
Format names must not contain any spaces. Place your preferred format first.
Names in the help_files list appear as items in the Help menu and should
correspond to text files in the given help_folder. The Help menu will not
appear if the list is empty.
NOTE: Any string starting with "-" in the above three lists will result in
a disabled line in the corresponding menu.
Some parameters (input_folders, tfm_folders, vf_folders and ps_folders) allow
"*" at the end of a path name to tell OzTeX to include all subfolders of the
given folder in the search list. OzTeX does NOT include subfolders within
subfolders.
Note that the ps_folders list includes the special entry "$f". OzTeX replaces
$f with the path to your system fonts folder (this is where PostScript font
files are normally kept). On systems earlier than version 7, $f is replaced
by the system folder.
The pk_files parameter is a list of file templates used by OzTeX to find
PK files after doing the following substitutions:
%f is replaced by the desired font name (eg. cmr10)
%d is replaced by the desired font size (eg. 360)
%b is replaced by the base resolution (eg. 300)
%m is replaced by the mode (eg. laserwriter)
%% is replaced by "%" (in case you want "%" in a folder name)
The text_to_ps_prolog parameter specifies the prolog file prepended to the
output when printing a text file to a PostScript device (but only if
"Use Standard PostScript" is not ticked).
The dvidvi_output parameter specifies the default name of the output file
created by DVIDVI. The pstool_output parameter specifies the default name
of the output file created by PSbook, PSnup, etc.
The input_file_suffixes parameter allows you to specify a list of suffixes
for the files seen in the "TeX..." file dialog. The Default list matches the
most common suffixes for TeX and LaTeX input files. Note that an empty list
will show all (TEXT) files. The given list is also used by OzTeX to determine
whether a text file should be typeset if it is dropped onto OzTeX or opened
via an Apple "open document" event.
OzTeX calls the given mf_application to make a missing PK font when printing
or previewing a DVI file. The Default application is OzMF.
Printing and previewing
-----------------------
The printing_resolution value (in dots per inch) is used when printing a
DVI file on a non-PostScript printer and the viewing_resolution is used when
previewing a DVI file. For both parameters, the maximum value is 3000 and
the minimum value is the resolution of your screen (typically 72).
The printing_mode and viewing_mode strings are passed from OzTeX to Metafont
to make missing PK fonts.
NOTE: dvips does NOT use the printing_resolution or printing_mode. It uses
the resolution and mode specified in :DVIPS:Inputs:config.ps. This allows
more flexibility. For example, a person with two printers, one QuickDraw and
one PostScript, can set up the printing parameters for the QD printer and have
quite different settings in config.ps for the PS printer.
If the printing_config value is non-empty then OzTeX will automatically
load the named config file just before printing a DVI or text file.
Similarly, if the viewing_config value is non-empty then OzTeX will
automatically load the config file just before previewing a DVI file.
The Default parameters are both empty, and so nothing happens.
However, people who want to use a different set of fonts (not just different
resolutions) for viewing and printing could set up appropriate config files.
For example, the "View CM using PS" config file sets the printing_config to
"Default" so that after previewing a DVI file using "View CM using PS" you
don't have to remember to load the Default config before printing.
The units parameter tells OzTeX how to display dimensions when printing or
viewing a DVI file. The standard TeX units are available as well as "px"
(see the User Guide's section on paper coordinates).
The paper_width and paper_height values are used to detect page-off-paper
errors when viewing a DVI file, and during low-level PostScript printing.
(In standard PostScript printing and non-PostScript printing, OzTeX uses
the paper size and orientation selected in the Page Setup dialog.)
If the width is greater than the height then OzTeX will print or view
in landscape mode. The Default values specify A4 paper in portrait mode.
If you use US Letter paper then see the US Letter config file.
The horizontal_offset and vertical_offset values affect the positioning of
all pages when printing a DVI file on a non-PostScript printer. They should
only be changed if your printer has problems positioning the TeX origin
(see page 2 in nasty.dvi). These offsets are NOT used when previewing a DVI
file, nor by dvips. If you need to adjust the origin on a PostScript printer
then add a line like "O 2mm,-3mm" to config.ps.
The flag parameters like show_statistics specify the initial settings
of some check boxes used in the dialogs for printing a DVI file.
For a PostScript printer, the extra DVIPS options box will contain
the current dvips_options string (the Default string is empty, but some of
the supplied config files set dvips_options to appropriate strings).
The paper_edges and other color parameters are used to specify the colors
for various page elements when previewing a DVI file. The allowed colors are
black, red, green, blue, cyan, magenta, yellow and white (white can be used
to make something invisible). On black and white monitors all non-white
colors appear black.
TeX parameters
--------------
The TeX parameters determine how much memory is allocated for various arrays
used by TeX and INITEX. Note that mem_max is temporarily set to mem_top
whenever you run INITEX.
The supplied values are suitable for small to medium-size TeX documents.
For very large or complicated documents, you will probably need to increase
most values and build big formats. To do this, copy the following lines to
a spot anywhere after the supplied TeX parameters (but before the "!"):
mem_max = 200000 (mem_top..100000000)
mem_top = 200000 (mem_min+1100..mem_max)
font_max = 256 (1..256)
font_mem_size = 60000 (8..100000000)
max_strings = 10000 (1300..16382)
string_vacancies = 50000 (0..pool_size-23500)
pool_size = 80000 (string_vacancies+23500..100000000)
buf_size = 3000 (120..32760)
stack_size = 600 (1..1600)
max_in_open = 20 (1..20)
param_size = 200 (1..8190)
nest_size = 150 (1..1000)
save_size = 2000 (1..4094)
trie_size = 16000 (1..65000)
trie_op_size = 1000 (1..16382)
hash_size = 10000 (325..31000)
hash_prime = 8501 (prime about 85% of hash_size)
hyph_size = 2551 (prime from 1..16382)
NOTE: OzTeX's preferred memory size will need to be set to at least 3500K
(select the OzTeX icon and then use "Get Info" in the Finder's File menu).
You'll also need to run INITEX and rebuild all formats as described in the
User Guide.
If you don't have enough memory then reduce the values of mem_max and mem_top.
Each unit reduction saves 8 bytes, so if mem_max and mem_top are reduced by
100,000 then the required memory size drops by about 800K. If you decide to
change any other parameters then you might need to adjust OzTeX's memory size
(use the number of allocated bytes shown at the end of a TeX run).
PostScript fonts
----------------
The lines between begin_fonts and end_fonts tell OzTeX which TFM files are
for PostScript fonts (or more accurately, non-PK fonts). The ordering of
lines doesn't matter; they are used to build a list of PostScript fonts.
Each line specifies a TFM name, a printer font name, a screen font name,
an encoding entry and an optional style.
NOTE: The printer font names aren't actually used, but they do provide a
convenient reminder of the actual printer fonts represented by the rather
cryptic TFM names. Note also that the given set of TFM names should match
the entries in :DVIPS:Inputs:psfonts.map used by dvips.
The screen font names are used when viewing DVI files containing PostScript
fonts, and when printing such DVI files on a non-PostScript printer.
If you are unsure about which screen font would best match a particular
PostScript font, you must still specify something (such as "?").
If OzTeX can't find a specified screen font it will warn you and use the
system font instead. To obtain the best results when viewing or printing
a DVI file with PostScript fonts you must get the matching screen fonts.
Each screen font can appear in a certain style defined by a set of flags:
b for bold,
i for italic,
u for underline,
o for outline,
s for shadow,
c for condense and
e for extend.
If the style is not specified then OzTeX uses the font's plain style.
An encoding entry is the name of a user-defined encoding file (or "nil" if
the TFM file and screen font use the same encoding). For more details, see
the User Guide's section on encoding files.